package com.luban;


import com.luban.processor.TestAopBeanPostProcessor;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.context.annotation.Import;

// @Configuration 保证AppConfig对象通过CGlib方式来保证只产生一次，如果不加@Configuration不会使用CGlib代理
@Configuration
@ComponentScan("com.luban")
@EnableAspectJAutoProxy
@Import(TestAopBeanPostProcessor.class)
public class AppConfig {


}
